package fr.emse.tatiana.cordtravisualisation;

import java.util.List;
import java.util.Vector;

import org.eclipse.core.resources.IFile;
import org.eclipse.jface.action.IAction;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IWorkbenchWindow;

import fr.emse.tatiana.commands.OpenWithVisualisationPluginAction;
import fr.emse.tatiana.extensionprovider.IVisualisationActivator;

public class VisualisationActivator implements IVisualisationActivator {

	public VisualisationActivator() {
		// TODO Auto-generated constructor stub
	}

	public IEditorInput getInput(IFile file) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<IAction> getNewVisualisationActions(IWorkbenchWindow window,
			String navigationView) {
		List<IAction> ret = new Vector<IAction>();
		ret.add(new OpenWithVisualisationPluginAction(window, "Cordtra", CordtraDisplayEditor.ID, navigationView));
		return ret;
	}

}
